﻿using SqlSugar;

namespace AuthorityManagement.Model
{
    /// <summary>
    /// 用户角色实体
    /// </summary>
    [SugarTable("User_Role")]
    public class User_Role : CLDEntityBase
    {
        /// <summary>
        /// Id
        /// </summary>
        //[SugarColumn(IsPrimaryKey = true)]
        [SugarColumn(ColumnName = "F_Id", ColumnDescription = "F_Id")]
        public string Id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        [SugarColumn(ColumnName = "F_UserId", ColumnDescription = "用户id")]
        public string UserId { get; set; }

        /// <summary>
        /// 角色id
        /// </summary>
        [SugarColumn(ColumnName = "F_RoleId", ColumnDescription = "角色id")]
        public string RoleId { get; set; }

        /// <summary>
        /// 删除标识
        /// </summary>
        [SugarColumn(ColumnName = "F_DeleteMark", ColumnDescription = "删除标识")]
        public string DeleteMark { get; set; }
    }
}
